<?php
if(!isset($_SESSION)){
	session_start();
}
unset($_SESSION['logind']);
header('Content-Type:text/html;charset=utf-8');
echo '<script>alert("退出成功！");top.location.href="./login.php";</script>';
?>